﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 群组公告表
    ///</summary>
    [SugarTable("lar_group_notice")]
    public class LarGroupNotice
    {
        /// <summary>
        /// 公告ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public string Id { get; set; }
        /// <summary>
        /// 群组ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="group_id"    )]
         public string GroupId { get; set; }
        /// <summary>
        /// 创建者用户ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="creator_id"    )]
         public string CreatorId { get; set; }
        /// <summary>
        /// 公告标题 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="title"    )]
         public string Title { get; set; }
        /// <summary>
        /// 公告内容 
        ///</summary>
         [SugarColumn(ColumnName="content"    )]
         public string Content { get; set; }
        /// <summary>
        /// 是否删除[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_delete"    )]
         public string IsDelete { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="created_at"    )]
         public DateTime? CreatedAt { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
         [SugarColumn(ColumnName="updated_at"    )]
         public DateTime? UpdatedAt { get; set; }
        /// <summary>
        /// 删除时间 
        ///</summary>
         [SugarColumn(ColumnName="deleted_at"    )]
         public DateTime? DeletedAt { get; set; }
        /// <summary>
        /// 是否置顶[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_top"    )]
         public string IsTop { get; set; }
        /// <summary>
        /// 是否需群成员确认公告[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_confirm"    )]
         public byte? IsConfirm { get; set; }
        /// <summary>
        /// 已确认成员 
        ///</summary>
         [SugarColumn(ColumnName="confirm_users"    )]
         public int? ConfirmUsers { get; set; }
    }
}
